package com.ruoyi.did.service;

import java.util.List;
import com.ruoyi.did.domain.DidDocument;
import com.ruoyi.did.domain.DidMetadata;


public interface IDidDocumentService {
    DidDocument selectDidDocumentById(Long id);
    DidDocument selectDidDocumentByDid(String did);
    List<DidDocument> selectDidDocumentList(DidDocument didDocument);
    int insertDidDocument(DidDocument didDocument, DidMetadata metadata);
    int updateDidDocument(DidDocument didDocument, DidMetadata metadata);
    int deleteDidDocumentByIds(Long[] ids);
    int deleteDidDocumentById(Long id);


    // 额外方法
    boolean revokeDid(String did);
}
